package org;

import java.lang.reflect.Field;

/**
 * Created by yangshunxing on 2016/12/22.
 */
public class ReflectTest{

    public static void main(String[] args) throws Exception{
        Class<?> clazz = Class.forName("com.demo.alibaba.util.Gcd");
        Field[] fields = clazz.getFields();
        for (Field field: fields){
            System.out.println(field);
        }
    }

}
